package com.dong.demo.controller;

import com.dong.demo.service.RetryService;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequiredArgsConstructor
public class TestController {

    private final RetryService retryService;

    @GetMapping("/call")
    public String callChannel() throws Exception {
        retryService.callChannel();
        return "OK";
    }
}
